#!/usr/bin/env node

const fs = require('fs'),
    fileName = process.argv[2];

fs.readFile(fileName, (err,data) => {
    let arr = data.toString('utf8').split('\n');
    for(var i = 0; i < arr.length; ++i){
        console.log(`${i+1} ${arr[i]}`);
    }
    //log(data.toString('utf8'));
});

console.log('01-my-cat-async');
